package service;

import java.util.List;

import bean.Intersection;
import bean.Point;
import bean.Road;
import exception.DBException;

public interface PointService {
	public List<Road> saveOrUpdate(List<Road> roads) throws DBException;;
	public int[] shortestPoint(Point[] points,int area) throws DBException;
	public List<Point> findPointsByIds(int[] ids) throws DBException;
	public boolean saveLightsPoints(List<Intersection> lights) throws DBException;
}
